.class public abstract Lcom/estrongs/android/pop/zeroconf/e$a;
.super Lcom/estrongs/android/pop/zeroconf/e;
.source "DNSRecord.java"


# annotations
.annotation system Ldalvik/annotation/EnclosingClass;
    value = Lcom/estrongs/android/pop/zeroconf/e;
.end annotation

.annotation system Ldalvik/annotation/InnerClass;
    accessFlags = 0x409
    name = "a"
.end annotation


# static fields
.field private static m:Ljava/util/logging/Logger;


# instance fields
.field l:Ljava/net/InetAddress;


# direct methods
.method static constructor <clinit>()V
    .locals 1

    .line 1
    const-class v0, Lcom/estrongs/android/pop/zeroconf/e$a;

    invoke-virtual {v0}, Ljava/lang/Class;->getName()Ljava/lang/String;

    move-result-object v0

    invoke-static {v0}, Ljava/util/logging/Logger;->getLogger(Ljava/lang/String;)Ljava/util/logging/Logger;

    move-result-object v0

    sput-object v0, Lcom/estrongs/android/pop/zeroconf/e$a;->m:Ljava/util/logging/Logger;

    return-void
.end method

.method protected constructor <init>(Ljava/lang/String;Lcom/estrongs/android/pop/zeroconf/constants/DNSRecordType;Lcom/estrongs/android/pop/zeroconf/constants/DNSRecordClass;ZILjava/net/InetAddress;)V
    .locals 0

    .line 1
    invoke-direct/range {p0 .. p5}, Lcom/estrongs/android/pop/zeroconf/e;-><init>(Ljava/lang/String;Lcom/estrongs/android/pop/zeroconf/constants/DNSRecordType;Lcom/estrongs/android/pop/zeroconf/constants/DNSRecordClass;ZI)V

    .line 2
    iput-object p6, p0, Lcom/estrongs/android/pop/zeroconf/e$a;->l:Ljava/net/InetAddress;

    return-void
.end method

.method protected constructor <init>(Ljava/lang/String;Lcom/estrongs/android/pop/zeroconf/constants/DNSRecordType;Lcom/estrongs/android/pop/zeroconf/constants/DNSRecordClass;ZI[B)V
    .locals 0

    .line 3
    invoke-direct/range {p0 .. p5}, Lcom/estrongs/android/pop/zeroconf/e;-><init>(Ljava/lang/String;Lcom/estrongs/android/pop/zeroconf/constants/DNSRecordType;Lcom/estrongs/android/pop/zeroconf/constants/DNSRecordClass;ZI)V

    .line 4
    :try_start_0
    invoke-static {p6}, Ljava/net/InetAddress;->getByAddress([B)Ljava/net/InetAddress;

    move-result-object p1

    iput-object p1, p0, Lcom/estrongs/android/pop/zeroconf/e$a;->l:Ljava/net/InetAddress;
    :try_end_0
    .catch Ljava/net/UnknownHostException; {:try_start_0 .. :try_end_0} :catch_0

    goto :goto_0

    :catch_0
    move-exception p1

    .line 5
    sget-object p2, Lcom/estrongs/android/pop/zeroconf/e$a;->m:Ljava/util/logging/Logger;

    sget-object p3, Ljava/util/logging/Level;->WARNING:Ljava/util/logging/Level;

    const-string p4, "Address() exception "

    invoke-virtual {p2, p3, p4, p1}, Ljava/util/logging/Logger;->log(Ljava/util/logging/Level;Ljava/lang/String;Ljava/lang/Throwable;)V

    :goto_0
    return-void
.end method


# virtual methods
.method a(Lcom/estrongs/android/pop/zeroconf/e;)Z
    .locals 2

    .line 1
    instance-of v0, p1, Lcom/estrongs/android/pop/zeroconf/e$a;

    const/4 v1, 0x0

    if-nez v0, :cond_0

    return v1

    .line 2
    :cond_0
    check-cast p1, Lcom/estrongs/android/pop/zeroconf/e$a;

    .line 3
    invoke-virtual {p0}, Lcom/estrongs/android/pop/zeroconf/e$a;->g()Ljava/net/InetAddress;

    move-result-object v0

    if-nez v0, :cond_1

    invoke-virtual {p1}, Lcom/estrongs/android/pop/zeroconf/e$a;->g()Ljava/net/InetAddress;

    move-result-object v0

    if-eqz v0, :cond_1

    return v1

    .line 4
    :cond_1
    invoke-virtual {p0}, Lcom/estrongs/android/pop/zeroconf/e$a;->g()Ljava/net/InetAddress;

    move-result-object v0

    invoke-virtual {p1}, Lcom/estrongs/android/pop/zeroconf/e$a;->g()Ljava/net/InetAddress;

    move-result-object p1

    invoke-virtual {v0, p1}, Ljava/net/InetAddress;->equals(Ljava/lang/Object;)Z

    move-result p1

    return p1
.end method

.method g()Ljava/net/InetAddress;
    .locals 1

    .line 1
    iget-object v0, p0, Lcom/estrongs/android/pop/zeroconf/e$a;->l:Ljava/net/InetAddress;

    return-object v0
.end method
